// $ANTLR 3.2 Sep 23, 2009 12:02:23 /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g 2010-11-26 01:11:59

import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;

public class gramAntlrLexer extends Lexer {
    public static final int T__11=11;
    public static final int N=4;
    public static final int T__10=10;
    public static final int EOF=-1;
    public static final int T__9=9;
    public static final int T__8=8;
    public static final int T__7=7;
    public static final int T__6=6;
    public static final int T__5=5;

    // delegates
    // delegators

    public gramAntlrLexer() {;} 
    public gramAntlrLexer(CharStream input) {
        this(input, new RecognizerSharedState());
    }
    public gramAntlrLexer(CharStream input, RecognizerSharedState state) {
        super(input,state);

    }
    public String getGrammarFileName() { return "/home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g"; }

    // $ANTLR start "T__5"
    public final void mT__5() throws RecognitionException {
        try {
            int _type = T__5;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:3:6: ( '/' )
            // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:3:8: '/'
            {
            match('/'); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        }
    }
    // $ANTLR end "T__5"

    // $ANTLR start "T__6"
    public final void mT__6() throws RecognitionException {
        try {
            int _type = T__6;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:4:6: ( '^' )
            // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:4:8: '^'
            {
            match('^'); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        }
    }
    // $ANTLR end "T__6"

    // $ANTLR start "T__7"
    public final void mT__7() throws RecognitionException {
        try {
            int _type = T__7;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:5:6: ( '_' )
            // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:5:8: '_'
            {
            match('_'); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        }
    }
    // $ANTLR end "T__7"

    // $ANTLR start "T__8"
    public final void mT__8() throws RecognitionException {
        try {
            int _type = T__8;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:6:6: ( '(' )
            // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:6:8: '('
            {
            match('('); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        }
    }
    // $ANTLR end "T__8"

    // $ANTLR start "T__9"
    public final void mT__9() throws RecognitionException {
        try {
            int _type = T__9;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:7:6: ( ')' )
            // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:7:8: ')'
            {
            match(')'); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        }
    }
    // $ANTLR end "T__9"

    // $ANTLR start "T__10"
    public final void mT__10() throws RecognitionException {
        try {
            int _type = T__10;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:8:7: ( '{' )
            // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:8:9: '{'
            {
            match('{'); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        }
    }
    // $ANTLR end "T__10"

    // $ANTLR start "T__11"
    public final void mT__11() throws RecognitionException {
        try {
            int _type = T__11;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:9:7: ( '}' )
            // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:9:9: '}'
            {
            match('}'); 

            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        }
    }
    // $ANTLR end "T__11"

    // $ANTLR start "N"
    public final void mN() throws RecognitionException {
        try {
            int _type = N;
            int _channel = DEFAULT_TOKEN_CHANNEL;
            // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:13:3: ( '0' .. '9' | 'a' .. 'z' | 'A' .. 'Z' | '+' | '-' )
            // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:
            {
            if ( input.LA(1)=='+'||input.LA(1)=='-'||(input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||(input.LA(1)>='a' && input.LA(1)<='z') ) {
                input.consume();

            }
            else {
                MismatchedSetException mse = new MismatchedSetException(null,input);
                recover(mse);
                throw mse;}


            }

            state.type = _type;
            state.channel = _channel;
        }
        finally {
        }
    }
    // $ANTLR end "N"

    public void mTokens() throws RecognitionException {
        // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:1:8: ( T__5 | T__6 | T__7 | T__8 | T__9 | T__10 | T__11 | N )
        int alt1=8;
        switch ( input.LA(1) ) {
        case '/':
            {
            alt1=1;
            }
            break;
        case '^':
            {
            alt1=2;
            }
            break;
        case '_':
            {
            alt1=3;
            }
            break;
        case '(':
            {
            alt1=4;
            }
            break;
        case ')':
            {
            alt1=5;
            }
            break;
        case '{':
            {
            alt1=6;
            }
            break;
        case '}':
            {
            alt1=7;
            }
            break;
        case '+':
        case '-':
        case '0':
        case '1':
        case '2':
        case '3':
        case '4':
        case '5':
        case '6':
        case '7':
        case '8':
        case '9':
        case 'A':
        case 'B':
        case 'C':
        case 'D':
        case 'E':
        case 'F':
        case 'G':
        case 'H':
        case 'I':
        case 'J':
        case 'K':
        case 'L':
        case 'M':
        case 'N':
        case 'O':
        case 'P':
        case 'Q':
        case 'R':
        case 'S':
        case 'T':
        case 'U':
        case 'V':
        case 'W':
        case 'X':
        case 'Y':
        case 'Z':
        case 'a':
        case 'b':
        case 'c':
        case 'd':
        case 'e':
        case 'f':
        case 'g':
        case 'h':
        case 'i':
        case 'j':
        case 'k':
        case 'l':
        case 'm':
        case 'n':
        case 'o':
        case 'p':
        case 'q':
        case 'r':
        case 's':
        case 't':
        case 'u':
        case 'v':
        case 'w':
        case 'x':
        case 'y':
        case 'z':
            {
            alt1=8;
            }
            break;
        default:
            NoViableAltException nvae =
                new NoViableAltException("", 1, 0, input);

            throw nvae;
        }

        switch (alt1) {
            case 1 :
                // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:1:10: T__5
                {
                mT__5(); 

                }
                break;
            case 2 :
                // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:1:15: T__6
                {
                mT__6(); 

                }
                break;
            case 3 :
                // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:1:20: T__7
                {
                mT__7(); 

                }
                break;
            case 4 :
                // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:1:25: T__8
                {
                mT__8(); 

                }
                break;
            case 5 :
                // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:1:30: T__9
                {
                mT__9(); 

                }
                break;
            case 6 :
                // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:1:35: T__10
                {
                mT__10(); 

                }
                break;
            case 7 :
                // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:1:41: T__11
                {
                mT__11(); 

                }
                break;
            case 8 :
                // /home/kivi/Fac/tleng/tleng2010/Codigo/gramAntlr.g:1:47: N
                {
                mN(); 

                }
                break;

        }

    }


 

}